<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title><%= @title %></title>
		<%= javascript_include_tag :defaults%>
		<%= stylesheet_link_tag "basic.css"%>
	</head>
	<body>
		<div id="container">
			<%= render :partial => "/partial/top" %>
			<%= render :partial => "/partial/head" %>
			<div id="main">
				<div class="home_left">
					<div class="board">
						<div class="bulletinBoard">
		                    <div class="titlewords">
		                    	<h2>公告栏</h2>
		                        <h5><a href="#">更多</a></h5>
		                    </div>
		                     <ul>           
		                        <li><a href="#">新版网站近期上线，部分产品将有调整</a></li>
		                        <li><a href="#">邀您出席首届全球威客大会</a></li>
		                        <li><a href="#">传统节日之中秋节系列任务征集阶段结束</a></li>
		                        <li><a href="#">moumou成功中标某魔蛋</a></li>
		                        <li><a href="#">新版网站近期上线，部分产品将有调整</a></li>
		                        <li></li>                              
		                    </ul>
                 		</div>
						<div id="slider">
		                     <ul>
		                        <li><img alt="" src="../images/01.jpg" /></li>
		                        <li>
		                          <img alt="" src="../images/02.jpg" /></li>
		                        <li>
		                          <img alt="" src="../images/03.jpg" /></li>
		                        <li>
		                          <img alt="" src="../images/04.jpg" /></li>
		                        <li>
		                          <img alt="" src="../images/05.jpg" /></li>
		                    </ul>
		                </div>
					</div>
					<div class="left_con_box">
						<div class="box_tl">
		                    <div class="box_tl_l"><h2><%= link_to "创意需求", :action => :index, :controller => "/site/requirement"%></h2></div>
		                    <div class="box_tl_r">
		                        <ul>
		                            <li><%= link_to "更多需求", :action => :index, :controller => "/site/requirement"%></li>
		                            <li><%= link_to "产品需求", :controller => '/site/requirement',:action => :detail,:id => 100000%></li>
		                            <li><%= link_to "品牌需求", :controller => '/site/requirement',:action => :detail,:id => 110000%></li>
		                            <li><%= link_to "VI需求", :controller => '/site/requirement',:action => :detail,:id => 120000%></li>                             
		                        </ul>
		                     </div>
		                </div>
						<div class="box_body">
							<ul>
								<% if @requirements.length>0 -%>
									<%= render :partial => "re", :collection => @requirements %>
								<%end%>
							</ul>
						</div>
					</div>
					<div class="left_con_box">
						<div class="box_tl2">
		                    <div class="box_tl_l"><h2><%= link_to "创意设计", :action => :index, :controller => "/site/design"%></h2></div>
		                    <div class="box_tl_r">
		                        <ul>
		                            <li><%= link_to "更多设计", :action => :index, :controller => "/site/design"%></li>
		                            <li><%= link_to "产品设计", :controller => '/site/design',:action => :detail,:id => 100000%></li>
		                            <li><%= link_to "品牌设计", :controller => '/site/design',:action => :detail,:id => 110000%></li>
		                            <li><%= link_to "VI设计", :controller => '/site/design',:action => :detail,:id => 120000%></li>                           
		                        </ul>
		                     </div>
		                </div>
						<div class="box_body">
		                    <div class="create">
		                        <ul>
		                        	<% if @works.length>0 -%>
		                              <%= render :partial => "/partial/work", :collection => @works %>
									<% end %>  
		                        </ul>
		                    </div>
		                </div>
					</div>
					<div class="left_con_box">
						<div class="box_tl3">
		                    <div class="box_tl_l"><h2><%= link_to "创意资讯", :action => :index, :controller => "/site/info"%></h2></div>
		                    <div class="box_tl_r">
		                        <ul>
		                            <li><%= link_to "更多资讯", :action => :index, :controller => "/site/info"%></li>
		                            <li><%= link_to "会展信息", :controller => '/site/info', :action => :detail, :id => 3%></li>                            
		                            <li><%= link_to "设计竞赛", :controller => '/site/info', :action => :detail, :id => 2%></li>
		                            <li><%= link_to "行业资讯", :controller => '/site/info', :action => :detail, :id => 1%></li>
		                        </ul>
		                   </div>
               			</div>
						<div class="box_body">
							<div class="information">
								<div class="left">
									<ul>
										<%= render :partial => "info", :collection => @infos%>
									</ul>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="home_right">
					<div class="login">
						<% unless logged_in?-%>
		            	<p><%= nav_link "免费注册", "admin/users", "select_role" %></p>
		                <p><%= nav_link "登录", "admin/users", "login"%></p>
						<% end %>
		                <p><%= link_to "免费发需求", :controller => "/requirement", :action => :new %></p>
		                <p><%= link_to "我要看需求", :controller => "/site/requirement", :action => :index%></p>
	                </div>
					<div class="rightbar_box">
			          <div class="sug_com">
			            <p>推荐设计公司<span class="rMore"></span></p>               
			              <ul>
			                 <%= render :partial => "com", :collection => @designers%>
			              </ul>                  
			            </div>  
			        </div>
					<div class="rightbar_box">
			          <div class="good_com">
			            <p>优秀企业<span class="rMore"></span></p>
			               <ul>
			                 <%= render :partial => "com", :collection => @demanders%>
			              </ul> 
			            </div> 
			        </div>
				</div>
				<div class="sug_school">
		           <p>合作高校</p>
		           <a href="#">浙江大学</a>
				   <a href="#">清华美术学院</a>
				   <a href="#">杭州电子科技大学</a>
				   <a href="#">同济大学</a>
				   <a href="#">江南大学</a>
				   <a href="#">湖南大学</a>
				   <a href="#">中国美术学院</a>
				   <a href="#">广州美术学院</a>
		       </div>
			</div>	
			<div id="footer">
				<ul>
				    <li><a href="#">关于分度</a></li> 
		            <li><a href="#">服务指南</a></li>
		            <li><a href="#">网站导航</a></li>
					<li><a href="#">诚聘英才</a></li>
				    <li><a href="#">战略伙伴</a></li>
				    <li><a href="#">联系我们</a></li>
				</ul>
	  		</div>
  
		  	<div id="dibu">电信经营许可证号 广告经营许可证号 工商注册登记号
		  		<br/> COPYRIGHT@2008年-2009年 FENDU . ALL RIGHTS RESERVED
		  	</div>
		</div>
	</body>
</html>
